xen: introduce a C99 headers check
authorStefano Stabellini <sstabellini@kernel.org>
Wed, 5 Apr 2017 00:17:51 +0000 (17:17 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 5 Apr 2017 13:56:19 +0000 (09:56 -0400)
commitbb84dc954b4e648e4706c60ec2c9d57652005e11
tree99e966f5d185a516173a60a2995cb835053f03ed
parentf000908276382e1c0a3de359f9bbc7ba83999119
xen: introduce a C99 headers check

Introduce a C99 headers check, for non-ANSI compliant headers: 9pfs.h
and pvcalls.h.

In addition to the usual -include stdint.h, also add -include string.h
to the C99 check to get the declaration of memcpy and size_t.

For the same reason, also add -include cstring to the C++ check when
necessary.

Signed-off-by: Stefano Stabellini <stefano@aporeto.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
CC: JBeulich@suse.com
.gitignore
xen/include/Makefile